package com.lanhai.ads.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AgvStateInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer agvId;
    private Integer id;
    private String ip;
    private Integer port;
    private Integer state;//状态（必须）
    private String stateTitle;

    private Integer lastState;//上一状态
    private Long lastStateTs;//上一状态切换时间
    private Integer routeId;//路线号（必须）
    private Integer currentX;//激光坐标x
    private Integer currentY;//激光坐标y
    private Integer commandStatus;//命令执行:1-正常执行，0-错误执行
    private Integer battery;// 电量：0x01-0x64（必须）
    private Integer loadings;//物料状态:上下装载情况（必须）
    private Long ts;//最后更新时间（必须）
    private String message;//运行时消息

    private AgvReceiveEnum lastReceive;

}
